home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / tex / lametex_.z / lametex_ / lametex / src / Justify.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-07  |  615 b   |  30 lines

  1. /* Justify.h
  2.  *
  3.  * When the user wants flushright, flushleft, centered, or the normal
  4.  * full justification, this class is used.
  5.  *
  6.  * Copyright 1992 Jonathan Monsarrat. Permission given to freely distribute,
  7.  * edit and use as long as this copyright statement remains intact.
  8.  *
  9.  */
  10.  
  11. class Justify : public Param {
  12.  public:
  13.    enum JustifyType {
  14.       Center,
  15.       FlushLeft,
  16.       FlushRight,
  17.       Normal
  18.    };
  19.  
  20.    Justify();
  21.    Justify(Justify *);
  22.    Param *copy();
  23.    int set(int, float, char*);
  24.    float get(int, char*);
  25.    void postscript_set(int);
  26.    void revert(Param *);
  27.  private:
  28.    int justifytype;
  29. };
  30.